import documentInsideTpl from './documentInside.html';
import documentInsideDetailTpl from './documentInside.detail.html';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('documentInside', {
      url: '/documentInside/:id',
      templateUrl: documentInsideTpl,
      controller: require('./documentInside.controller.js'),
      controllerAs: 'documentInside',
    })
    .state('documentInsideDetail', {
    	url: '/documentInside/detail/:taskId/:innerItemId/:imgUrl',
    	templateUrl: documentInsideDetailTpl,
    	controller: require('./documentInside.detail.controller.js'),
    	controllerAs: 'vm',
    });
}

export default routeConfig;